
import { mapActions, mapMutations } from './store2.mapper'

const store = {
  state: {},
  mutations: {
    ...mapMutations({
      getUserSceneList: 'scenes',
      getUserScene: 'scene',
      getUserDeviceList: 'devices',
    })
  },
  actions: {
    ...mapActions([
      'getUserSceneList',
      'getUserScene',
      'getUserDeviceList',
    ])
  },
}

export default new Vuex.Store(store)